package cn.tedu.oop;

public class Test8_UseMulti {
    public static void main(String[] args) {
        Fu4 fu = new Zi4();
        System.out.println(fu.name);
        fu.show();
        fu.test();
        fu.stest();
        Fu4.stest();
        Zi4.stest();
    }
}
class Fu4{
    String name = "尼古拉斯.赵四";
    public void show(){
        System.out.println("Fu4..show()");
    }
    final public void test(){
        System.out.println("Fu4..test()");
    }
    static public void stest(){
        System.out.println("Fu..");
    }
}
class Zi4 extends Fu4{
    String name = "Anglelababa";
    public void show(){
        System.out.println("Zi4..show()");
    }
    static public void stest(){
        System.out.println("Zi..");
    }
}